﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BlueMarble.Genesis.Client.Standard.Security
{
    public class Authentication: global::Genesis.Client.Host.Interfaces.ILogin
    {
        #region ILoginForm Members

        public bool AuthenticateUser(System.Data.DataSet GlobalDataSet)
        {
            BlueMarble.Genesis.Client.Standard.Forms.Login loginForm = new BlueMarble.Genesis.Client.Standard.Forms.Login(GlobalDataSet);

            System.Windows.Forms.DialogResult dr = loginForm.ShowDialog();

            return (dr == System.Windows.Forms.DialogResult.OK);
        }

        #endregion
    }
}
